From c8e38479eeacb10f5bb393fe5326f7022bee5d25 Mon Sep 17 00:00:00 2001 From: robertl Date: Sun, 22 Jan 2006 18:04:16 +0000 Subject: [PATCH] C99-ism sneaked in. --- csv_util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/csv_util.c b/csv_util.c index ba3b55a83..a2ef89346 100644 --- a/csv_util.c +++ b/csv_util.c @@ -1103,10 +1103,11 @@ xcsv_waypt_pr(const waypoint *wpt) i = 0; QUEUE_FOR_EACH(xcsv_file.ofield, elem, tmp) { char *obuff; - fmp = (field_map_t *) elem; double lat = wpt->latitude; double lon = wpt->longitude; + fmp = (field_map_t *) elem; + if ((i != 0) && !(fmp->options & OPTIONS_NODELIM)) fprintf (xcsv_file.xcsvfp, write_delimiter); -- 2.30.2